define(["../logic/statisticsdialog", "../common/common"],
    function (pluginClass, c) {
        return {
            pluginClass: pluginClass,
            style: {
                backgroundColor: '#fff',
                height:450,
                width:800
            },
            nocache: true,
            root: ["header","list_table_warp"],
            components: {
                header:{
                    type:"view",
                    style:{
                        height:"41px",
                        backgroundColor:"#F2F3F4"
                    },
                    root:["header_title","header_close"]
                },
                header_title:{
                    ref:true,
                    type:"text",
                    style:{
                        position:"absolute",
                        left:"10px",
                        top:"12px",
                        fontSize:"13px",
                        color:"#262626"
                    },
                    text:"成员"
                },
                header_close: {
                    type: "icon",
                    font: "icomoon_e90a",
                    style: {
                        float: "right",
                        position: "absolute",
                        right: "9px",
                        top: 0,
                        cursor: "pointer",
                        color: "#cccccc"
                    },
                },
                nodata:{
                    type:"text",
                    text:"没有相关数据",
                    style:{
                        color:"gray",
                        marginTop:"20px",
                        fontSize:"15px",
                        textAlign:"center"
                    }
                },
                list_table_warp:{
                    type:"view",
                    style:{
                        paddingRight:"10px",
                        paddingLeft:"10px",
                    },
                    root:["list_table","main_paginator"]
                },
                main_paginator: {
                    type: "paginator",
                    ref: true,
                    style: {
                        marginTop: "20px"
                    }
                },
                list_table:{
                  type:"table",
                  paginator:"main_paginator",
                  nodata:"nodata",
                  ref:true,
                  style:{
                    margin:"auto",
                    fontSize:"12px",
                    marginTop:"10px",
                    minHeight:"320px"
                  },
                  ajaxConfig:{
                    url: "/diaryQuery/getUserStatisticsByCondition",
                    type: "GET",
                    timeout:999999999,
                    pageNumKey:"pageNo",
                    pageSize:7,
                    data:{
                      pageNo:1,
                      pageSize:7
                    }
                  },
                  headerStyle:{
                    backgroundColor:"#fff",
                    fontSize:"12px",
                    height:"32px",
                    color:"#999",
                    borderBottom:"1px solid #F2F3F4",
                    textAlign:"center",
                  },

                  rowStyle:{
                    borderBottom:"1px solid #F2F3F4",
                    cursor:"pointer",
                    height: "40px"
                  },
                  columns:[


                  ]
                }

           }
       };
    });
